package com.qn.meta.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qn.common.base.IBaseMapper;
import com.qn.core.resources.ResourcesDs;
import com.qn.meta.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
public interface UserMapper extends IBaseMapper<User> {
    @DS(ResourcesDs.STRING)
    IPage<User> getPage(IPage<User> page, @Param("where") User where);
    @DS(ResourcesDs.STRING)
    List<User> getList(@Param("where") User where);
    @DS(ResourcesDs.STRING)
    User getInfo(@Param("where") User where);
}
